package com.zuxia.user;

import com.zuxia.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "service-user")
public interface UserOpenFeignApi {
    @GetMapping("/user/dump/single/{id}")
    R getDumpById(@PathVariable("id") String id);

    @PostMapping("/commission/entry")
    R getEntry();

    @GetMapping("/getCommission/{commissionId}")
    R getCommissionId(@PathVariable("commissionId") String commissionId);

}